package src.main.java.org.oop.extend.contructor;

public class Son extends Father{
    public Son(){
//        super()  默认存在
        System.out.println("子类的无参构造器执行了");
    }
    public Son(String name){
        System.out.println("子类的有参构造器");
    }
}
